/*
 * $Revision: 1.3 $ $Date: 2006/04/06 14:42:40 $
 */
package org.vectrics.recruiter.company;

import java.util.Date;
import java.util.HashSet;
import java.util.Set;

import org.vectrics.company.Company;

/**
 * @author mmoore
 */
public class RecruitCompanyInfo {
    
    private Long id = null;
    private Company company = null;
    private String jobPostCompanyInfo = null;
    private Date dateLastChanged = null;
    private boolean voided = false;
    private Company recruitingCompany = null;  
    private Set approvalList = new HashSet();

    /**
     * @return Returns the company.
     */
    public Company getCompany() {
        return company;
    }
    /**
     * @param company The company to set.
     */
    public void setCompany(Company company) {
        this.company = company;
    }
    /**
     * @return Returns the id.
     */
    public Long getId() {
        return id;
    }
    /**
     * @param id The id to set.
     */
    public void setId(Long id) {
        this.id = id;
    }
    /**
     * @return Returns the jobPostCompanyInfo.
     */
    public String getJobPostCompanyInfo() {
        return jobPostCompanyInfo;
    }
    /**
     * @param jobPostCompanyInfo The jobPostCompanyInfo to set.
     */
    public void setJobPostCompanyInfo(String jobPostCompanyInfo) {
        this.jobPostCompanyInfo = jobPostCompanyInfo;
    }
    
    
    /**
     * @return Returns the voided.
     */
    public boolean getVoided() {
        return voided;
    }
    /**
     * @param voided The voided to set.
     */
    public void setVoided(boolean voided) {
        this.voided = voided;
    }
    
    
    /**
     * @return Returns the dateLastChanged.
     */
    public Date getDateLastChanged() {
        return dateLastChanged;
    }
    /**
     * @param dateLastChanged The dateLastChanged to set.
     */
    public void setDateLastChanged(Date dateLastChanged) {
        this.dateLastChanged = dateLastChanged;
    }

    /**
	 * @return Returns the recruitingCompany.
	 */
	public Company getRecruitingCompany() {
		return recruitingCompany;
	}
	
	/**
	 * @param recruitingCompany The recruitingCompany to set.
	 */
	public void setRecruitingCompany(Company recruitingCompany) {
		this.recruitingCompany = recruitingCompany;
	}
	
	/**
	 * @return Returns the approvalList.
	 */
	public Set getApprovalList() {
		return approvalList;
	}
	
	/**
	 * @param approvalList The approvalList to set.
	 */
	public void setApprovalList(Set approvalList) {
		this.approvalList = approvalList;
	}


	public String toString() {
		return("" + this.getId() + "|jobPostInfo=" + this.getJobPostCompanyInfo() 
				+ "|company" + this.getCompany() 
				+ "|dateLastChange=" + this.dateLastChanged);
	}
	
}
